package com.amway.superappcreator.amway_superapp_creator_plugin_example;

import android.os.Bundle;
import androidx.annotation.Nullable;
import com.zhuge.analysis.stat.ZhugeParam;
import com.zhuge.analysis.stat.ZhugeSDK;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;

public class MainActivity extends FlutterActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //GeneratedPluginRegistrant.registerWith(this.getFlutterEngine());
        ZhugeParam param = new ZhugeParam.Builder().appKey("bcfe4df31a4e409dbf5fb02e6e1bcd4d")
                .appChannel("channel")
                .build();
        ZhugeSDK.getInstance().initWithParam(getApplicationContext(), param);
    }
}
